﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SetListManager.Models.SetListPrintingOptions>" %>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">

</style>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Print SetList
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <% //using (Html.BeginForm("OutputPDF","SetList", new { id = Model.SetList.SetListID })) { %>
 <% using (Html.BeginForm()) { %>
    <div id="editbuttons_rt">
    <% //Html.ActionLink("Print PDF", "OutputPDF", new { id = Model.SetList.SetListID }, new { @class = "link-button", target = "_blank" }) %>
    <input type="submit" class="link-button" value="Print PDF" />
    <%: Html.ActionLink("Cancel", "Index", null, new { @class = "link-button" })%>
    </div>
    <h1>Print Set List</h1>
    <h2><%: Model.SetList.Name %> - <%: String.Format("{0:d}", Model.SetList.GigDate) %> - <%: Model.SetList.GigTime %> </h2>
    <br />

    <div style="float: left; width: 300px;">
    <h3>Columns to Print</h3>
    <p style="margin-left: 55px;line-height: 2.0em;">
        <%: Html.CheckBoxFor(model=>model.bPrintSoloist) %> <label for="bPrintSoloist">Soloist</label><br />
        <%: Html.CheckBoxFor(model => Model.bPrintKey) %> <label for="bPrintKey">Key</label><br />
        <%: Html.CheckBoxFor(model=>Model.bPrintTempo) %> <label for="bPrintTempo">Tempo</label><br />
        <%: Html.CheckBoxFor(model=>Model.bPrintNote1) %> <label for="bPrintNote1"><%: Model.Band.Note1Name %></label>
        <% if (!Model.Band.Note1IsColumn) 
           { %>
           <strong>*</strong>
           <% } %>
           <br />
        <%: Html.CheckBoxFor(model=>Model.bPrintNote2) %> <label for="bPrintNote2"><%: Model.Band.Note2Name %></label><br />
        <% if (!Model.Band.Note2IsColumn)
           { %>
           <strong>*</strong>
           <% } %>
        <%: Html.CheckBoxFor(model=>Model.bPrintNote3) %> <label for="bPrintNote3"><%: Model.Band.Note3Name %></label><br />
        <%: Html.CheckBoxFor(model=>Model.bPrintNote4) %> <label for="bPrintNote4"><%: Model.Band.Note4Name %></label><br />
        <%: Html.CheckBoxFor(model=>Model.bPrintNote5) %> <label for="bPrintNote5"><%: Model.Band.Note5Name %></label><br />
        <strong>*</strong> Prints as a text block
    </p>
    </div>
    <div style="float: left; width: 300px; line-height: 2.0em;">
    <h3>Print Options</h3>
    <p style="margin-left: 55px;line-height: 2.0em;">
        <%: Html.CheckBoxFor(model=>Model.bTruncateSongNames) %> <label for="bTruncateSongNames">Truncate Song Names</label><br />
        Song Font Size: <%: Html.DropDownListFor(model=>model.iFontSizeSong, new SelectList(Model.lFontSizes,"Value","Text", Model.iFontSizeSong)) %>
        <br />
        Columns Font Size: <%: Html.DropDownListFor(model=>model.iFontSizeColumns, new SelectList(Model.lFontSizes,"Value","Text", Model.iFontSizeColumns)) %>
        <br />
        Notes Font Size:<%: Html.DropDownListFor(model => model.iFontSizeNotes, new SelectList(Model.lFontSizes, "Value", "Text", Model.iFontSizeNotes))%>
    </p>
    </div>
    <p>&nbsp;</p>

 <% } // end form %>
 

</asp:Content>


